package io.wins.vertx.service;

import io.vertx.core.Vertx;
import io.vertx.core.eventbus.Message;
import io.vertx.core.json.JsonArray;
import io.wins.vertx.entity.Comment;
import io.wins.vertx.service.impl.CommentServiceImpl;

public interface CommentService {
    String SERVICE_ADDRESS = "comment.service";
    static CommentService create(final Vertx vertx) {return new CommentServiceImpl(vertx);}
    CommentService getCommentByConcertId(final String custId, final String conId, final Message tMessage);
    CommentService listComment(final Message tMessage);
    CommentService createComment(final Comment comment, final Message tMessage);
    CommentService reviewComment(final JsonArray ids, final int status, final Message tMessage);
    CommentService deleteComment(final String id, final Message tMessage);
}
